<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>票务管理平台</title>
<?php echo $this->Html->css(array('bootstrap/style','bootstrap/style_settings'));?>
<!-- jQuery AND jQueryUI -->
<?php echo $this->Html->script(array('jquery/jquery-1.8.2','jquery-ui/jquery-ui-1.9.1.custom.min','bootstrap/min'))?>
<style>
#content .selector,#content .selector span{width:345px !important;border:0}
#content .selector{background: transparent; box-shadow: none;}
#content .selector span{border:none;color:#000;margin-top: 3px}
#content .selector select{width:329px !important;}
</style>
</head>
<body class="collapsed">
<div id="content" class="login">
  <h1>
  <?php echo $this->Html->image('bootstrap/lock-closed.png')?>
  票务管理平台
  </h1>
    <?php 
		echo $this->Session->flash(); 
		echo $this->session->flash('auth');
	?>
	<?php echo $this->Form->create('User',array('url'=>array('admin'=>true,'controller'=>'Users','action'=>'login')));?>
    <div class="input placeholder">
      <?php echo $this->Form->input('SITEID',array('options'=>$SysWebsite,'div'=>false,'label'=>false))?>
    </div>
    <div class="input placeholder">
      <label for="login">用户名</label>
      <input type="text" name="data[User][username]" id="login" autocomplete="off"/>
    </div>
    <div class="input placeholder">
      <label for="pass">密码</label>
      <input type="password" name="data[User][password]" id="pass" autocomplete="off"/>
    </div>
    <div class="checkbox" style = 'display:none'>
      <input type="checkbox" id="remember">
      <label class="inline" for="remember">Remember me</label>
    </div>
    <div class="submit">
      <input type="submit" name="login" value="登录" />
    </div>
    <?php echo $this->end()?>
</div>
</body>
</html>